package com.epam.training.service.car;

import java.util.List;

import org.springframework.data.domain.Page;

import com.epam.training.domain.Car;

public interface CarService {
	List<Car> getAllCar();

	Page<Car> getAllCar(Integer pageNumber);
	
	void save(Car car);
	
	Car getById(Integer id);
	
	void delete(Integer id);
	
	void update(Car car, Integer carId);
}
